package com.taxshare.seller.view.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author YANG
 * @date 2021/3/25
 */
@Data
@ApiModel(value = "已开发票管理请求信息", description = "已开发票管理请求信息")
public class InvoicedDTO {

    @ApiModelProperty("发票类型（004 专票 007 普票  026 电子发票 41 卷票）")
    private String invoiceType;

    @ApiModelProperty("开票类型（0 蓝票  1红票）")
    private String makeInvoiceType;

    @ApiModelProperty("发票代码")
    private String invoiceCode;

    @ApiModelProperty("发票号码")
    private String invoiceNo;

    @ApiModelProperty("开票日期起")
    private String invoiceDateStart;

    @ApiModelProperty("开票日期止")
    private String invoiceDateEnd;

    @ApiModelProperty("购方名称")
    private String purchaserName;

    @ApiModelProperty("购方税号")
    private String purchaserTaxNo;

    @ApiModelProperty("销方名称")
    private String sellerName;

    @ApiModelProperty("销方税号")
    private String sellerTaxNo;

    @ApiModelProperty("发票状态（0 正常  1作废 2 红冲）")
    private String invoiceState;

    @ApiModelProperty("数据来源 0-财税平台 1-明源")
    private String dataSource;

    @ApiModelProperty("原发票代码")
    private String oldInvoiceCode;

    @ApiModelProperty("原发票号码")
    private String oldInvoiceNo;

    @ApiModelProperty("发票请求流水号")
    private String serialNo;

    @ApiModelProperty(value = "发票流水号集合")
    List<String> serialNos;

    @ApiModelProperty("开票状态（0 待开 1发送开票 2已开 3 开票失败）")
    private String makeInvoiceState;

    @ApiModelProperty("开票人")
    private String drawer;

    @ApiModelProperty("单据编号")
    private String docId;

    @ApiModelProperty("一级项目名称")
    private String projectMax;

    @ApiModelProperty("购买房间")
    private String room;

    @ApiModelProperty("税率")
    private String taxRate;

    @ApiModelProperty("销方税号集合")
    private List<String> sellerTaxNos;
}
